package com.glp.work.flow.dto.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.sql.Timestamp;
import java.util.List;
import java.util.Map;

/**
 * @author liwenhong
 * @title 开始工作流实例请求
 * @date 2018/11/2.
 */
@Data
public class StartProcessRequestDTO {

	@ApiModelProperty(value="应用ID")
	private String appId;

	@ApiModelProperty(value="orderID")
	private String orderId;

	@ApiModelProperty(value="工单标题")
	private String orderTitle;

	@ApiModelProperty(value="流程定义ID")
	private String procDefKey;

	@ApiModelProperty(value="任务ID（驳回状态下重新提交必传）")
	private String taskId;

	@ApiModelProperty(value="流程参数")
	private Map<String, Object> processVariable;

	@ApiModelProperty(value="动态表单")
	private Map<String, Object> dynamicForm;

	@ApiModelProperty(value="提交人ID")
	private String userId;

	@ApiModelProperty(value="提交人")
	private String userName;
	@ApiModelProperty(value = "备注")
	private String remarks;
	@ApiModelProperty(value = "批次")
	private String batch;
	@ApiModelProperty(value="提交时间")
	private Timestamp submitTime;

	@ApiModelProperty(value = "查询条件1")
	private String index_1;

	@ApiModelProperty(value = "查询条件2")
	private String index_2;

	@ApiModelProperty(value = "查询条件3")
	private String index_3;

	@ApiModelProperty(value = "发起节点所对应的业务范围")
	private String businessScopebCode;

	@ApiModelProperty(value = "动态分配用户集合")
	private List<String> userNos;

	@ApiModelProperty(value = "动态分配用户集合")
	private List<String> dynamicUserNos;


}
